package com.pan.entity;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 订单发票信息的实体类
 *
 * @author gaopengf
 * @date 2018-04-18 15:02:28
 */
@Setter
@Getter
@ToString(exclude = "order")
@EqualsAndHashCode(exclude = "order")
public class OrderInvoice implements Cloneable, Serializable {

    private String invoiceId;

    private Order order;

    @Override
    public OrderInvoice clone() throws CloneNotSupportedException {

        return (OrderInvoice)super.clone();
    }
}
